package com.woniuxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author ：CuiYC
 * @description：
 * @date ：Created in 2025/3/18 11:40
 * @modified By：
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class KillBook {
    private Integer id;
    private Integer bookId;
    private String startTime; //秒杀开始时间
    private String endTime;  //秒杀结束时间
    private Integer killNum; //秒杀数量
    private BigDecimal oldPrice;
    private BigDecimal discountPrice; //打折后价格
    private Integer status; //正在秒杀/结束
    private String imgSrc; //秒杀书籍照片地址
    private String bookName;
    private String provider; //出版社
}
